/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Server.Expression;

import java.util.HashMap;
import java.util.Map;
import java.util.Stack;

/**
 *
 * @author WIN7
 */
public class NewMain {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        String input = "(x&y)|z & true";
        input =input.replaceAll(" ","");
      
       Where where =  new Where(null, input);
       where.Excute();
//       System.out.println(expression);
//        EvaluatorLogic sentence = new EvaluatorLogic(expression);
//        Map<String,Expression> variables = new HashMap<String,Expression>();
//        variables.put("x", new Bool(Boolean.FALSE));
//        variables.put("y", new Bool(Boolean.TRUE));
//        variables.put("z", new Bool(Boolean.FALSE));
//        Boolean result = (Boolean)sentence.interpret(variables);
//        System.out.println(result);
       
    }
}
